float t=0;

float posX = width/2;
float posY = height/2;

float pos2X = 0;
float pos2Y = 0;
float r = width/3;

while(t<=2*PI) {
  
  pos2X = r*cos(t);
  pos2Y = -1*(r*sin(t));
  
  line(posX, posY, pos2X+posX, pos2Y+posY);
  t = t + 0.05;
  
}
